In linux , shared segments are always named identified by a key . unnamed shared segments are not supported 在linux中,共享内存通常都是有名共享内存(使用一个关键字惟一标识) ; linux不支持无名共享内存。
Semaphores provide low - level synchronization between processes so that only one process has access to the shared segment , thereby ensuring the integrity of that shared resource * *信号量提供了进程间的低级同步,使得只有一个进程可以访问共享段,从而确保共享段的完整性。